package com.sky.service;

import com.sky.vo.OrderReportVO;
import com.sky.vo.SalesTop10ReportVO;
import com.sky.vo.TurnoverReportVO;
import com.sky.vo.UserReportVO;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;

@Service
public interface ReportService {

    // 固定时间营业额统计
    TurnoverReportVO getTurnoverStatistics(LocalDate begin, LocalDate end);

    // 固定时间用户
    UserReportVO getuserStatistics(LocalDate begin, LocalDate end);

    //固定时间订单
    OrderReportVO getOrderStatistics(LocalDate begin, LocalDate end);

    SalesTop10ReportVO getSalesTop10(LocalDate begin, LocalDate end);

    //导出运行数据报表
    void exportBusinessData(HttpServletResponse response);
}
